import http from "@/utils/http/hub";

/**
 * 日常服务评论详情(评论列表)
 * domesticServiceId
 * page
 * limit
 */
export const getServiceCommentList = (params, config) => {
  return http.post({
    url: `/evaluation/DomesticServiceEvaluationDetail`,
    params,
    config,
  });
};

/**
 * 提交日常服务评价
 */
export const domesticServiceEvaluation = (params, config) => {
  return http.post({
    url: `/evaluation/domesticServiceEvaluation`,
    params,
    config,
  });
};

/**
 * 提交酒店订单评价
 */
export const subHotelOrderEval = (params, config) => {
  return http.post({
    url: `/orderHotel/subOrderEval`,
    params,
    config,
  });
};
